package org.jeecg.modules.asset.fileselfbelong.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.asset.fileselfbelong.entity.Fileselfbelong;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: FileSelfBelong
 * @Author: jeecg-boot
 * @Date:   2020-04-02
 * @Version: V1.0
 */
public interface FileselfbelongMapper extends BaseMapper<Fileselfbelong> {

    @Select("Select UpFileFullName from  FileSelfBelong  Where RoomGUID = #{guid} And FileBelong='房屋图片' And FileIndex=1")
    Fileselfbelong findByRoomGUID(String guid);
}
